import 'package:flutter/material.dart';
import 'package:flutter_animate/flutter_animate.dart';
import 'package:mandoby/core/app_export.dart';
import 'package:mandoby/core/utils/app_colors.dart';
import 'package:mandoby/core/widgets/custom_scaffold_widget.dart';
import 'package:nb_utils/nb_utils.dart';

import '../../../../config/theme/app_decoration.dart';
import '../../../../config/theme/custom_text_style.dart';
import '../../../../core/widgets/app_bar/custom_app_bar.dart';
import '../../../../core/widgets/custom_elevated_button.dart';
import '../../../sign_in/presentation/pages/sign_in.dart';
import '../widgets/specialist_text_row.dart';

class SpecialistScreen extends StatelessWidget {
  const SpecialistScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return  CustomScaffoldWidget(
        decoration: AppDecoration.gradientWhiteAToBlueGray,
        appBar:  const CustomAppBar(),
        screenPadding: EdgeInsets.symmetric(vertical:  20.h),
        body: ListView(
        children: [
        Text(
          "تخصص محاسبة",style: CustomTextStyles.font24Primary700.copyWith(
          color: AppColors.black900
        ),
          textAlign: TextAlign.center,

        ),
        20.hs,
        Row(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: [
            Row(
              children: [
                Text(
                  "بكالوريوس",style: CustomTextStyles.font20primary700.copyWith(
                    fontWeight: FontWeight.w800
                ),
                  textAlign: TextAlign.center,

                ),
                5.ws,
                Image.asset("assets/images/trueImage.png"),
              ],
            ),
            Row(
              children: [
                Text(
                  "ماجستير",style: CustomTextStyles.font20primary700.copyWith(
                    fontWeight: FontWeight.w800
                ),
                  textAlign: TextAlign.center,

                ),
                5.ws,
                Image.asset("assets/images/falseImage.png"),
              ],
            ),
            Row(
              children: [
                Text(
                  "دكتوراه",style: CustomTextStyles.font20primary700.copyWith(
                    fontWeight: FontWeight.w800
                ),
                  textAlign: TextAlign.center,

                ),
                5.ws,
                Image.asset("assets/images/falseImage.png"),
              ],
            ),
          ],
        ),
        20.hs,
        Container(
          margin: EdgeInsets.only(left: 100.w),
          padding: EdgeInsets.all(10.h),
          decoration: BoxDecoration(
            color: AppColors.primary,
            borderRadius: BorderRadius.only(bottomLeft: Radius.circular(10.h),topLeft: Radius.circular(10.h))
          ),
          child: Text(
            "متطلبات التسجيل فى جامعة القاهرة (بكالوريوس)",style: CustomTextStyles.font20whiteA700w400.copyWith(
            fontWeight: FontWeight.w800
          ),

          ),
        ).animate().slideX(),
        20.hs,

         SpecialistTextRow(txt: "اصل شهادة الثانوية", color:  AppColors.lightBlue).animate().slideX(duration: 450.ms),
        10.hs,
         SpecialistTextRow(txt: "مستخرج جواز السفر من ادارة الجنسية والجوازات (الضجيج)", color:  AppColors.lightBlue).animate().slideX(duration: 450.ms),
        10.hs,

         SpecialistTextRow(txt: "مستخرج شهادة الميلاد من ادارة المواليد والوفيات (حولي)", color:  AppColors.lightBlue).animate().slideX(duration: 450.ms),
        10.hs,
         SpecialistTextRow(txt: "عدد 8 صور شخصية", color:  AppColors.lightBlue).animate().slideX(duration: 450.ms),
        20.hs,
        CustomElevatedButton(text: "التالي",onPressed: (){
           const SignInScreen().launch(context);
          },margin: EdgeInsets.symmetric(horizontal: 150.w),)

      ],
    ));
  }
}

